package entity.sz;

/**
 * @author 胡小超
 * 2024/12/5 上午11:26
 * class 打印机
 */
public class Printer {
    //属性
    //打印机大小(A4和B5)
    private String size;
    //类型
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    //构造函数
    public Printer() {

    }

    public Printer(String type,String size) {
        this.type = type;
        this.size = size;
    }

    //封装
    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
